<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>3-空间旋转</title>
    <style>
        .box{
            width:500px;
            height:360px;
            margin:150px auto;
            /*透视加到父类身上，取值范围800-1200px */
            perspective: 1000px;
        }
        .box img{
            transition: all .5s;
        }
        .box img:hover{
            transform: rotateX(60deg);
            transform: rotateY(90deg);
        }
    </style>
</head>
<body>
    <div class="box">
        <img src="images/200.png" alt="">
    </div>
</body>
</html>